{include file="header.html"}
<style>
    table.dataTable td { font-size: 10px;}
</style>
<title>入库查询列表</title>
<div id="rightTop">
    <p>入库查询列表</p>
</div>
<div class="mrightTop">
    <div class="fontl">
        <form id="select_from" method="get">
            <input type="hidden" name="app" value="getstore"/>
            <input id='act' type="hidden" name="act" value="index"/>
            <div class="c1">
                <div class="c2"> 入库单号</div>
                <div class="c3"><input class="queryInput2" type="text" value="{$smarty.get.RKCode}" id="RKCode"
                                       name="RKCode"/></div>
            </div>
            <div class="c1">
                <div class="c2" style="margin-left: 1px">货主单位</div>
                <div class="c3">
                    <input class="queryInput2" type="text" value="{$smarty.get.HZunit}" id="HZunit"
                           name="HZunit"/></div>
            </div>
            <div class="c4"></div>
            <div class="c1">
                <div class="c2">
                    仓库
                </div>
                <div class="c3">
                    <input class="queryInput2" type="text" value="{$smarty.get.Godown}" id="Godown"
                           name="Godown"/></div>
            </div>
            <div class="c1">
                <input type="submit" class="formbtn" style="margin-left: 5px" value="查询"/></div>
                <div class="c4"></div>

        </form>
    </div>

    <div class="clear:both;"></div>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable" style="margin-top: 30px">
        <!--{if $getstores}-->
        <tr class="tatr1">
            <td width="10px"></td>
            <td>入库单号</td>
            <td style="width: 80px">货主单位</td>
            <td>仓库</td>
            <td class="handler">操作</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$getstores item=getstore}-->
        <tr class="tatr2">
            <td width="10px"></td>
            <td>{$getstore.SIM_Code}</td>
            <td>{$getstore.huozhudanwei}</td>
            <td>{$getstore.S_Name}</td>
            <td class="handler">
                <a href="index.php?app=getstore&amp;act=listmore&amp;id={$getstore.SIM_TId}&amp;pageIndex={$page_info.curr_page}">更多</a>
                <a href="index.php?app=getstore&amp;act=detail&amp;id={$getstore.SIM_TId}">明细</a>
            </td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="4"><img style="width: 20%" src="themes/mall/default/styles/default/images/n.png"></td>
        </tr>
        <!--{/foreach}-->

    </table>
    <!--{if $getstores}-->{include file=page.new.html}
    <div style="margin-top: 30px"></div>
    <!--{else}-->
    <div style="margin-top: 50px"></div>
    <!--{/if}-->
</div>

